<?php

require_once('../includes/db.php');
$db = new DataBase;

$email = $_GET['email'];
$result = $db->fetchAll('users',"`email`='$email'");

if( mysql_num_rows($result) == 0 ){
  echo 1;
} else {
  echo 0;
}
